package com.quanyan.ic.vendingMachine.mapper.entity;

import com.quanyan.ic.common.paging.Limit;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class VmOrderEntityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Limit limit;

    public VmOrderEntityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Limit limit) {
        this.limit = limit;
    }

    public Limit getLimit() {
        return limit;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNull() {
            addCriterion("order_no is null");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNotNull() {
            addCriterion("order_no is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualTo(String value) {
            addCriterion("order_no =", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualTo(String value) {
            addCriterion("order_no <>", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThan(String value) {
            addCriterion("order_no >", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("order_no >=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThan(String value) {
            addCriterion("order_no <", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualTo(String value) {
            addCriterion("order_no <=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLike(String value) {
            addCriterion("order_no like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotLike(String value) {
            addCriterion("order_no not like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIn(List<String> values) {
            addCriterion("order_no in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotIn(List<String> values) {
            addCriterion("order_no not in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoBetween(String value1, String value2) {
            addCriterion("order_no between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotBetween(String value1, String value2) {
            addCriterion("order_no not between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIsNull() {
            addCriterion("total_amount is null");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIsNotNull() {
            addCriterion("total_amount is not null");
            return (Criteria) this;
        }

        public Criteria andTotalAmountEqualTo(BigDecimal value) {
            addCriterion("total_amount =", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotEqualTo(BigDecimal value) {
            addCriterion("total_amount <>", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountGreaterThan(BigDecimal value) {
            addCriterion("total_amount >", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_amount >=", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountLessThan(BigDecimal value) {
            addCriterion("total_amount <", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_amount <=", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIn(List<BigDecimal> values) {
            addCriterion("total_amount in", values, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotIn(List<BigDecimal> values) {
            addCriterion("total_amount not in", values, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_amount between", value1, value2, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_amount not between", value1, value2, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andVmNumberIsNull() {
            addCriterion("vm_number is null");
            return (Criteria) this;
        }

        public Criteria andVmNumberIsNotNull() {
            addCriterion("vm_number is not null");
            return (Criteria) this;
        }

        public Criteria andVmNumberEqualTo(String value) {
            addCriterion("vm_number =", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberNotEqualTo(String value) {
            addCriterion("vm_number <>", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberGreaterThan(String value) {
            addCriterion("vm_number >", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberGreaterThanOrEqualTo(String value) {
            addCriterion("vm_number >=", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberLessThan(String value) {
            addCriterion("vm_number <", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberLessThanOrEqualTo(String value) {
            addCriterion("vm_number <=", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberLike(String value) {
            addCriterion("vm_number like", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberNotLike(String value) {
            addCriterion("vm_number not like", value, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberIn(List<String> values) {
            addCriterion("vm_number in", values, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberNotIn(List<String> values) {
            addCriterion("vm_number not in", values, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberBetween(String value1, String value2) {
            addCriterion("vm_number between", value1, value2, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andVmNumberNotBetween(String value1, String value2) {
            addCriterion("vm_number not between", value1, value2, "vmNumber");
            return (Criteria) this;
        }

        public Criteria andBuyerIsNull() {
            addCriterion("buyer is null");
            return (Criteria) this;
        }

        public Criteria andBuyerIsNotNull() {
            addCriterion("buyer is not null");
            return (Criteria) this;
        }

        public Criteria andBuyerEqualTo(String value) {
            addCriterion("buyer =", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerNotEqualTo(String value) {
            addCriterion("buyer <>", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerGreaterThan(String value) {
            addCriterion("buyer >", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerGreaterThanOrEqualTo(String value) {
            addCriterion("buyer >=", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerLessThan(String value) {
            addCriterion("buyer <", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerLessThanOrEqualTo(String value) {
            addCriterion("buyer <=", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerLike(String value) {
            addCriterion("buyer like", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerNotLike(String value) {
            addCriterion("buyer not like", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerIn(List<String> values) {
            addCriterion("buyer in", values, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerNotIn(List<String> values) {
            addCriterion("buyer not in", values, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerBetween(String value1, String value2) {
            addCriterion("buyer between", value1, value2, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerNotBetween(String value1, String value2) {
            addCriterion("buyer not between", value1, value2, "buyer");
            return (Criteria) this;
        }

        public Criteria andWchatPayCodeIsNull() {
            addCriterion("wchat_pay_code is null");
            return (Criteria) this;
        }

        public Criteria andWchatPayCodeIsNotNull() {
            addCriterion("wchat_pay_code is not null");
            return (Criteria) this;
        }

        public Criteria andWchatPayCodeEqualTo(String value) {
            addCriterion("wchat_pay_code =", value, "wchatPayCode");
            return (Criteria) this;
        }

        public Criteria andWchatPayCodeNotEqualTo(String value) {
            addCriterion("wchat_pay_code <>", value, "wchatPayCode");
            return (Criteria) this;
        }

        public Criteria andWchatPayCodeGreaterThan(String value) {
            addCriterion("wchat_pay_code >", value, "wchatPayCode");
            return (Criteria) this;
        }

        public Criteria andWchatPayCodeGreaterThanOrEqualTo(String value) {
            addCriterion("wchat_pay_code >=", value, "wchatPayCode");
            return (Criteria) this;
        }

        public Criteria andWchatPayCodeLessThan(String value) {
            addCriterion("wchat_pay_code <", value, "wchatPayCode");
            return (Criteria) this;
        }

        public Criteria andWchatPayCodeLessThanOrEqualTo(String value) {
            addCriterion("wchat_pay_code <=", value, "wchatPayCode");
            return (Criteria) this;
        }

        public Criteria andWchatPayCodeLike(String value) {
            addCriterion("wchat_pay_code like", value, "wchatPayCode");
            return (Criteria) this;
        }

        public Criteria andWchatPayCodeNotLike(String value) {
            addCriterion("wchat_pay_code not like", value, "wchatPayCode");
            return (Criteria) this;
        }

        public Criteria andWchatPayCodeIn(List<String> values) {
            addCriterion("wchat_pay_code in", values, "wchatPayCode");
            return (Criteria) this;
        }

        public Criteria andWchatPayCodeNotIn(List<String> values) {
            addCriterion("wchat_pay_code not in", values, "wchatPayCode");
            return (Criteria) this;
        }

        public Criteria andWchatPayCodeBetween(String value1, String value2) {
            addCriterion("wchat_pay_code between", value1, value2, "wchatPayCode");
            return (Criteria) this;
        }

        public Criteria andWchatPayCodeNotBetween(String value1, String value2) {
            addCriterion("wchat_pay_code not between", value1, value2, "wchatPayCode");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeIsNull() {
            addCriterion("ali_pay_code is null");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeIsNotNull() {
            addCriterion("ali_pay_code is not null");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeEqualTo(String value) {
            addCriterion("ali_pay_code =", value, "aliPayCode");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeNotEqualTo(String value) {
            addCriterion("ali_pay_code <>", value, "aliPayCode");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeGreaterThan(String value) {
            addCriterion("ali_pay_code >", value, "aliPayCode");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ali_pay_code >=", value, "aliPayCode");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeLessThan(String value) {
            addCriterion("ali_pay_code <", value, "aliPayCode");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeLessThanOrEqualTo(String value) {
            addCriterion("ali_pay_code <=", value, "aliPayCode");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeLike(String value) {
            addCriterion("ali_pay_code like", value, "aliPayCode");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeNotLike(String value) {
            addCriterion("ali_pay_code not like", value, "aliPayCode");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeIn(List<String> values) {
            addCriterion("ali_pay_code in", values, "aliPayCode");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeNotIn(List<String> values) {
            addCriterion("ali_pay_code not in", values, "aliPayCode");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeBetween(String value1, String value2) {
            addCriterion("ali_pay_code between", value1, value2, "aliPayCode");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeNotBetween(String value1, String value2) {
            addCriterion("ali_pay_code not between", value1, value2, "aliPayCode");
            return (Criteria) this;
        }

        public Criteria andPayWayIsNull() {
            addCriterion("pay_way is null");
            return (Criteria) this;
        }

        public Criteria andPayWayIsNotNull() {
            addCriterion("pay_way is not null");
            return (Criteria) this;
        }

        public Criteria andPayWayEqualTo(Byte value) {
            addCriterion("pay_way =", value, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayNotEqualTo(Byte value) {
            addCriterion("pay_way <>", value, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayGreaterThan(Byte value) {
            addCriterion("pay_way >", value, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayGreaterThanOrEqualTo(Byte value) {
            addCriterion("pay_way >=", value, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayLessThan(Byte value) {
            addCriterion("pay_way <", value, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayLessThanOrEqualTo(Byte value) {
            addCriterion("pay_way <=", value, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayIn(List<Byte> values) {
            addCriterion("pay_way in", values, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayNotIn(List<Byte> values) {
            addCriterion("pay_way not in", values, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayBetween(Byte value1, Byte value2) {
            addCriterion("pay_way between", value1, value2, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayWayNotBetween(Byte value1, Byte value2) {
            addCriterion("pay_way not between", value1, value2, "payWay");
            return (Criteria) this;
        }

        public Criteria andPayStatusIsNull() {
            addCriterion("pay_status is null");
            return (Criteria) this;
        }

        public Criteria andPayStatusIsNotNull() {
            addCriterion("pay_status is not null");
            return (Criteria) this;
        }

        public Criteria andPayStatusEqualTo(Byte value) {
            addCriterion("pay_status =", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotEqualTo(Byte value) {
            addCriterion("pay_status <>", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusGreaterThan(Byte value) {
            addCriterion("pay_status >", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("pay_status >=", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusLessThan(Byte value) {
            addCriterion("pay_status <", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusLessThanOrEqualTo(Byte value) {
            addCriterion("pay_status <=", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusIn(List<Byte> values) {
            addCriterion("pay_status in", values, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotIn(List<Byte> values) {
            addCriterion("pay_status not in", values, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusBetween(Byte value1, Byte value2) {
            addCriterion("pay_status between", value1, value2, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("pay_status not between", value1, value2, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayCallbackTimeIsNull() {
            addCriterion("pay_callback_time is null");
            return (Criteria) this;
        }

        public Criteria andPayCallbackTimeIsNotNull() {
            addCriterion("pay_callback_time is not null");
            return (Criteria) this;
        }

        public Criteria andPayCallbackTimeEqualTo(Date value) {
            addCriterion("pay_callback_time =", value, "payCallbackTime");
            return (Criteria) this;
        }

        public Criteria andPayCallbackTimeNotEqualTo(Date value) {
            addCriterion("pay_callback_time <>", value, "payCallbackTime");
            return (Criteria) this;
        }

        public Criteria andPayCallbackTimeGreaterThan(Date value) {
            addCriterion("pay_callback_time >", value, "payCallbackTime");
            return (Criteria) this;
        }

        public Criteria andPayCallbackTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("pay_callback_time >=", value, "payCallbackTime");
            return (Criteria) this;
        }

        public Criteria andPayCallbackTimeLessThan(Date value) {
            addCriterion("pay_callback_time <", value, "payCallbackTime");
            return (Criteria) this;
        }

        public Criteria andPayCallbackTimeLessThanOrEqualTo(Date value) {
            addCriterion("pay_callback_time <=", value, "payCallbackTime");
            return (Criteria) this;
        }

        public Criteria andPayCallbackTimeIn(List<Date> values) {
            addCriterion("pay_callback_time in", values, "payCallbackTime");
            return (Criteria) this;
        }

        public Criteria andPayCallbackTimeNotIn(List<Date> values) {
            addCriterion("pay_callback_time not in", values, "payCallbackTime");
            return (Criteria) this;
        }

        public Criteria andPayCallbackTimeBetween(Date value1, Date value2) {
            addCriterion("pay_callback_time between", value1, value2, "payCallbackTime");
            return (Criteria) this;
        }

        public Criteria andPayCallbackTimeNotBetween(Date value1, Date value2) {
            addCriterion("pay_callback_time not between", value1, value2, "payCallbackTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}